<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>new object</title>
	</head>
	<body>
	</body>
	<script>
		/*此种方法和字面量的 var obj  = {} 类似*/
		var obj = new Object();
		obj.uname = '张三';
		obj.speak = function(){
			console.log("hell");
		}
		console.log(obj.speak())
	</script>
</html>
